gDEBugger User Guide

OpenGL Function Calls History View

The OpenGL Function Calls History view displays a log of OpenGL, OpenGL extensions and WGL function calls executed in each render context.

OpenGL Calls History view

Function Calls List:

The function calls are displayed as a list, ordered by the time in which they were called.
Each list line represents a single function call and contains: the called function name, its arguments values and the function type (as an icon).

Available Function Type Icons:


- A native OpenGL function
- A WGL function
- An OpenGL extension function
  - A function that have an associated texture
  - A function that have an associated shader
 String Marker - A glStringMarkerGREMEDY function

The Viewed Render Context:

The viewed render context and the amount of functions executed in it are displayed in the list title bar.
By default, the viewed render context is the context of the thread that caused the debugged process suspension. 
Use the OpenGL Calls History toolbar Viewed Context combo box to change the viewed context.

ôBreaked Onö Function

The function call that caused the debugged process suspension is marked using a yellow arrow.
Notice that the process is suspended by gDEBugger before the suspending function is executed. This lets you use Step Forward to observe the effect its execution has on the OpenGL state machine and the rendered image.

Frame Terminators Effect:

When the workspace Debug Settings specifies Frame Terminator functions, every time a Frame Terminator function is executed the render context list in which it was executed is cleared and the function calls count is initialized.

Displaying Function Call Properties

Selecting a list line presents the appropriate function call detailed in the Properties view.

Saving OpenGL Function Calls in a File

You can save the OpenGL function calls in a log file using the Record button.
After pressing the Record button, a log file is created for each active render context. The log file details appear as a debug string process event in the Process Events view. You can pause and resume recording at any given time by pressing the Stop Recording and Record buttons.